package com.appcheck.recording.handler.action;

import org.json.JSONException;
import org.json.JSONObject;

import com.appcheck.recording.action.ActionConvert;
import com.appcheck.recording.plugin.AbstractActionConverter;

public class SpinnerItemSelectedAction implements ActionConvert{
	private int index;
	private int line;
	
	public final String toString(){
	    JSONObject localJSONObject = new JSONObject();
	    try
	    {
	      localJSONObject.put("class", "SpinnerItemSelectedAction");
	      localJSONObject.put("index", this.index);
	      localJSONObject.put("line", this.line);
	    }
	    catch (JSONException localJSONException) {}
	    return localJSONObject.toString();
	}

	public final void setIndex(int index) {
		this.index = index;
	}

	public final void setLine(int line) {
		this.line = line;
	}

	@Override
	public void toTestCode(AbstractActionConverter actionConverter) {

	}
	
	
}
